package top.layne.cloud.tsf.database.mapper;


import org.apache.ibatis.annotations.Param;
import top.layne.cloud.tsf.api.entity.BmsCoupon;
import top.layne.cloud.tsf.api.entity.BmsCouponExample;


import java.util.List;

/**
* Created by Mybatis Generator on 2020/07/15
*/
public interface BmsCouponMapper {
    long countByExample(BmsCouponExample example);

    int deleteByExample(BmsCouponExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BmsCoupon record);

    int insertSelective(BmsCoupon record);

    List<BmsCoupon> selectByExample(BmsCouponExample example);

    BmsCoupon selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") BmsCoupon record, @Param("example") BmsCouponExample example);

    int updateByExample(@Param("record") BmsCoupon record, @Param("example") BmsCouponExample example);

    int updateByPrimaryKeySelective(BmsCoupon record);

    int updateByPrimaryKey(BmsCoupon record);
}